/**
 * 
 */
package czolgisci.tiles;

import java.awt.Point;
import java.io.IOException;

/**
 * @author pillow
 *
 */
public class Explosion extends ATile
{
	public int lifeTime = 4; //żywotność obiektu w tyknięciach zegara
	
	public Explosion(String imagePath, Point pos) throws IOException
	{
		super(imagePath, pos);
	}

	public boolean hasExpired()
	{
		return (lifeTime <= 0);
	}
	
	public void decreaseLifeTime()
	{
		lifeTime--;
	}
}
